This enables to use milliseconds to determine the rhythms or tonality zones, which is suitable in experimental music.
To match the milliseconds to the sequencer tempo adjustment you have to define first the time chunk that matches a certain tempo, for example 1/4 note equals 120 beats per minute.
(init-msec '1/4 120)
Now you can define 3 zones lasting 1000 ms, 500 ms and 333 ms.
(def-zone
synth (msec '(1000 500 333))
)
This example shows how to define lengths in the range of 40 to 80 ms calculated from sin wave.
These ratios are automatically length-corrected to match the sequencer tick values. Minor coercion errors will happen, but in a long run milliseconds are matched as closely as possible. More on auto-correction see get-tick.
Note: def-tempo will change the timings. Don't use it if you want to achieve the maximum precision.